tests/testthat/test-parse aws timestamp.R

context("test-parse aws timestamp.R")

test_that("multiplication works", {
  expect_equal(
    parse_AWS_date_time("2017-12-24T04:34:38.000Z") %>%
      as.numeric(),
    1514090078
  )
})
rosseji/rutils documentation built on May 17, 2019, 11:16 p.m.